package com.dao;

import java.util.List;

import com.vo.Users;

public interface IUserDao {
	
	//接口里面全部是抽象方法：没有方法体的方法
	//Users 为实体  
	boolean login(Users users)throws Exception;
	
	List<Users> getAllData()throws Exception;
	//登陆注册时
	int register(Users users)throws Exception;
	//用户管理里面注册
	int userAdd(Users users)throws Exception;
	//修改用户表
	int updateUser(Users users)throws Exception;
	//删除用户
	int deleteUser(int id)throws Exception;
	
	
}
